/**
 * 统计四个卡片数据信息
 * @return
 */
export const useStateCardApi = ()=>{
    return useHttpPost("/state/card",{})
}

/**
 * 统计用户城市占比
 * @param type
 * @return
 */
export const useStatePCDataApi = (type)=>{
    return useHttpPost("/state/provincecity?type="+type,{})
}

/**
 * 统计订单占比
 * @param type
 * @return
 */
export const useStateOrderDataApi = (type)=>{
    return useHttpPost("/state/order?type="+type,{})
}

/**
 * 统计浏览器
 * @return
 */
export const useStatePlatformDataBroswerApi = ()=>{
    return useHttpPost("/state/broswer",{})
}

/**
 * 统计os
 * @return
 */
export const useStatePlatformDataOsApi = ()=>{
    return useHttpPost("/state/os",{})
}